package com.emou.dao;

import com.emou.bean.Employee;

import java.util.HashMap;
import java.util.List;

public interface EmployeeMapper {
    /**
     * 根据id查询员工信息
     * @param params
     * @return
     */
    List<Employee> selectEmployeeByIdLike(HashMap<String, Object> params);

    List<Employee> selectEmployeeByLoginLike(HashMap<String, Object> params);

    void updateEmployeeIfNecessary(Employee employee);

    Employee selectEmployeeWithId(Integer id);

    List<Employee> selectEmployeeIn(List<Integer> ids);
}
